package com.coolingme.message.degree;

import com.coolingme.message.AbstractMessage;
import com.coolingme.message.IMessage;

/**
 * 紧急消息
 *
 * @author wangyue
 * @date 2020-09-20 21:26
 */
public class UrgencyMessage extends AbstractMessage {

    public UrgencyMessage(IMessage message) {
        super(message);
    }

    @Override
    public void sendMessage(String content, String to) {
        System.out.print("【紧急】");
        super.sendMessage(content, to);
    }
}
